Type.registerNamespace("BM");BM.Descriptor=function(a,b){BM.Descriptor.initializeBase(this,[a,b])};BM.Descriptor.prototype={load:function(){BM.Descriptor.callBaseMethod(this,"load");this.item.descriptor=this},addDescriptionChanged:function(a){this.getItem().addDescriptionChanged(a)},removeDescriptionChanged:function(a){this.getItem().removeDescriptionChanged(a)},raiseDescriptionChanged:function(a){this.getItem().raiseDescriptionChanged(a)},getDescription:function(){}};BM.Descriptor.registerClass("BM.Descriptor",BM.Addition);BM.DefaultDescriptor=function(a){BM.DefaultDescriptor.initializeBase(this,[a])};BM.DefaultDescriptor.prototype={getDescription:function(){if(this.item.getValue()!=null){return this.item.getValue()}return this.item.getName()}};BM.DefaultDescriptor.registerClass("BM.DefaultDescriptor",BM.Descriptor);